FROM openjdk:17-jdk
ADD target/*.jar app.jar
ENV JAVA_OPTS="-Xms512m -Xmx512m"
ENTRYPOINT ["java", "-jar", "app.jar"]